11. Sometimes things don’t go as expected

Sometimes things don’t go as expected

First Things First

Awesome job on creating your first variable! We saw that creating a new variable could be done in one line of code. If we wanted to show the value of that variable, then we were able to display it on screen in a TextView.

As we continue modifying more Java code, it’s completely normal to try something out, and have the app unexpectedly crash.